/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-12-12 17:24:00   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * zx_client_risk-fengkongshuju
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ClientRisk extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 会员主键
	 */
	@ApiModelProperty(value = "会员主键")
	 private Long clientId;
	/**
	 * 风控渠道：1同盾，2数美
	 */
	@ApiModelProperty(value = "风控渠道：1同盾，2数美")
	 private Integer riskChannel;
	/**
	 * 风控类型：1黑名单，2多头借贷
	 */
	@ApiModelProperty(value = "风控类型：1黑名单，2多头借贷")
	 private Integer riskType;
	/**
	 * 风控详情数据
	 */
	@ApiModelProperty(value = "风控详情数据")
	 private String riskDetail;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createTime;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime updateTime;
    
    public ClientRisk(){
    
    }
    
    public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public Integer getRiskChannel() {
        return this.riskChannel;
    }
    
    public void setRiskChannel(Integer riskChannel) {
        this.riskChannel = riskChannel;
    }
    public Integer getRiskType() {
        return this.riskType;
    }
    
    public void setRiskType(Integer riskType) {
        this.riskType = riskType;
    }
    public String getRiskDetail() {
        return this.riskDetail;
    }
    
    public void setRiskDetail(String riskDetail) {
        this.riskDetail = riskDetail;
    }
    public OffsetDateTime getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(OffsetDateTime createTime) {
        this.createTime = createTime;
    }
    public OffsetDateTime getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(OffsetDateTime updateTime) {
        this.updateTime = updateTime;
    }
    
}
